package com.xyz.service;

import com.xyz.util.dto.DataResult;
import com.xyz.util.dto.LoginInfo;

public interface EmployeeService {

    DataResult selectEmployee(LoginInfo li, int pageNum, int pageSize, String employeeName, String roleId) throws Exception;

    DataResult ruleFreeTimeList(LoginInfo li, int pageNum, int pageSize, String employeeTime) throws Exception;

    DataResult insertEmployee(LoginInfo li, String employeeName, String phoneNumber,
                              int position, String headFileCode, int isMessage,String teamGroup) throws Exception;

    DataResult updateEmployee(LoginInfo li, long employeeId, String employeeName,
                              String phoneNumber, int position, String headFileCode, int isMessage,String teamGroup) throws Exception;

    DataResult deleteEmployee(LoginInfo li, long employeeId) throws Exception;

    DataResult updateEmployeeUser(LoginInfo li, long employeeId, long userId) throws Exception;

}
